package edu.ccut.saturn.operation.database;

import java.sql.Connection;

public class InsertBySQL {
	private static edu.ccut.saturn.basecomponent.database.facade.InsertBySQL facade = null;
	private static InsertBySQL instance  = new InsertBySQL();
    private InsertBySQL(){
    	facade = new edu.ccut.saturn.basecomponent.database.facade.InsertBySQL();
    };
    public static InsertBySQL getInstance(){
    	return instance;
    }
	
	public int execute(String sql,Connection conn) throws Exception {
		return facade.execute(sql, conn);
	}
	
}
